package com.beiding.workordersystem.system.service;

import com.beiding.workordersystem.system.entity.RoleEntity;

import java.util.List;
import java.util.Set;

public interface RoleService {
    List<RoleEntity> listByUserId(String id);
    void save(RoleEntity roleEntity);
    RoleEntity getAndFillChildren(String id);
    void associateAuthority(String roleId, Set<String> authorityIds);
    void associateAccount(String roleId, Set<String> accountIds);

    void delete(String id);

    RoleEntity getDetails(String id);
}
